package com.example.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.*;

import java.math.BigDecimal;

@FeignClient(value = "seata-account")
public interface AccountFeign {
    @PutMapping("/modifiedaccount/{userId}/{used}")
    Boolean modifiedAccount(@PathVariable("userId") Long userId,@PathVariable("used") BigDecimal used);
}
